package com.sh.rbac.domain.dto.menu;

import com.sh.rbac.core.common.base.BaseDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @since 2024-04-12 13:39
 */
@EqualsAndHashCode(callSuper = true)
@Schema(description = "菜单修改参数")
@Data
public class MenuUpdateDTO extends BaseDTO {
    @Schema(description = "上级ID")
    private Long parentId;

    @Schema(description = "菜单名")
    private String menuName;

    @Schema(description = "菜单类型;0-目录,1-菜单,2-按钮")
    private Integer type;

    @Schema(description = "菜单路径")
    private String path;

    @Schema(description = "跳转地址")
    private String redirect;

    @Schema(description = "组件路径")
    private String component;

    @Schema(description = "菜单状态;0-显示,1-隐藏")
    private Integer visible;

    @Schema(description = "权限标识")
    private String perms;

    @Schema(description = "菜单图标")
    private String icon;
}
